package com.gift.dao;

import com.gift.pojo.BankCard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BankCardMapper {
    int deleteByPrimaryKey(Integer bid);

    int insert(BankCard record);

    int insertSelective(BankCard record);

    BankCard selectByPrimaryKey(Integer bid);

    int updateByPrimaryKeySelective(BankCard record);

    int updateByPrimaryKey(BankCard record);

    int getCountAll();

    List getAllBypr(@Param("raa") int raa, @Param("rows") int rows);

    int deleteByPrimaryKeyList(@Param("ids") List<Integer> deleteIdList);

    List getAll();


    List getAllByGid(int gid);


}